import { createRouter,createWebHashHistory } from "vue-router";
import Home from '../views/Home.vue'
import Index from '../views/index/Index.vue'
import IndexSetup from '../views/index/IndexSetup.vue'
import IndexExport from '../views/index/IndexExport.vue'
import IndexDefineComponent from '../views/index/IndexDefineComponent.vue'

const routes = [
  {
    path:'/',
    name:Home,
    component:Home
  },
  {
    path:'/Index',
    name:Index,
    component:Index
  },
  {
    path:'/IndexSetup',
    name:IndexSetup,
    component:IndexSetup
  },
  {
    path:'/IndexExport',
    name:IndexExport,
    component:IndexExport
  },
  {
    path:'/IndexDefineComponent',
    name:IndexDefineComponent,
    component:IndexDefineComponent
  },
]


const router = createRouter({
  history:createWebHashHistory(),
  routes
})


export default router

